/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package batailledesardennes.game.input;

/**
 *
 * @author charly
 */
public class KeyEvent {
   private int keyCode;
   private boolean down;

   public KeyEvent(int keyCode, boolean down) {
      this.keyCode = keyCode;
      this.down = down;
   }

   public boolean isDown() {
      return down;
   }

   public int getKeyCode() {
      return keyCode;
   }
}
